package org.ccahouse.ccatrain.service;

import org.ccahouse.ccacommons.common.RestResult;
import org.ccahouse.ccatrain.dto.HospitalDto;
import org.ccahouse.ccatrain.dto.HospitalListPageDto;
import org.ccahouse.ccatrain.entity.Hospital;

import java.util.List;

public interface IHospitalService {

    RestResult getHospitalList();

    RestResult getHospitalPage(HospitalListPageDto hospitalListPageDto);

    RestResult saveHospital(Hospital hospital);

    RestResult saveHospitals(List<Hospital> hospitals);

    RestResult updateHospital(HospitalDto hospital);

    RestResult getOneById(Integer id);

    RestResult getDetailById(Integer id);

    RestResult getHospitalByIds(List<Integer> ids);

}
